import request from '/@/utils/request';

export function getOverviewData(query?: Object) {
	return request({
		url: '/cost/intProjectAnalysis/overview',
		method: 'get',
		params: query,
	});
}

export function getMonthProjectData(query?: Object) {
	return request({
		url: '/cost/intProjectAnalysis/project/month',
		method: 'get',
		params: query,
	});
}

export function getCostTypeProjectData(query?: Object) {
	return request({
		url: '/cost/intProjectAnalysis/project/costType',
		method: 'get',
		params: query,
	});
}

export function getCostTypeData(query?: Object) {
	return request({
		url: '/cost/intProjectAnalysis/costType',
		method: 'get',
		params: query,
	});
}

export function getReplayData(query?: Object) {
	return request({
		url: '/cost/intProjectAnalysis/replay',
		method: 'get',
		params: query,
	});
}
